package com.cwz.mq.ack.constant;

/**
 * @program: w-demo
 * @description: 消息投递日志常量
 * @author: Wen
 **/
public class MsgLogConstants {
	/**
	 * 消息投递中
	 */
	public final static Integer DELIVERING = 0;

	/**
	 * 投递成功
	 */
	public final static Integer DELIVER_SUCCESS = 1;

	/**
	 * 投递失败
	 */
	public final static Integer DELIVER_FAIL = 2;

	/**
	 * 已消费
	 */
	public final static Integer CONSUMED_SUCCESS = 3;

	/**
	 * 消息最大重新投递次数
	 */
	public static final int MAX_TRY_COUNT = 3;
}
